package com.cyf.smartCity.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 基本响应
 * Created by hfy on 2017/5/27.
 */
@ApiModel("api:基本响应")
@Data
public class ApiBusinessRsp {

    public static final int SUCCESS = 1;
    public static final int FAIL = 0;
    @ApiModelProperty(value = "错误码: 1-成功，0失败", required = true)
    private int result;
    @ApiModelProperty(value = "错误信息描述")
    private String strError = "";

}
